
{[include file="material/in/_view.tpl"]}

<fieldset><legend>退货信息</legend>
<form id="form_add">
<input type="hidden" name="id" value="{[$result.id]}" />
<table>
	<tr>
		<td align="right">供应商：</td>
		<td colspan="3">{[$result.receive_x.supplier_t]}</td>
	</tr>
	<tr>
		<td width="20%" align="right">退货人：</td>
		<td width="30%"><input type="text" name="emp" id="emp"
			size="12" value="{[$smarty.session.id]}:{[$smarty.session.name]}"
			title="{[$t.emp_|emp:'出库人']}"> <input type="checkbox"
			name="t_emp" id="t_emp"
			value="{[$smarty.session.id]}:{[$smarty.session.name]}" checked>
			自己</td>
		<td width="20%" align="right">退货日期：</td>
		<td width="30%"><input type="text" name="date" id="date"
			size="12" value="{[$smarty.now|date_format:'%Y-%m-%d']}"></td>
	</tr>
	
	<tr>
		<td align="right">仓库：</td>
		<td colspan="3"><input type="text" name="place" id="place"
			size="12" value=""> <select name='place_t' id='place_t'>
				{[html_options options=$place_option selected=-]}
		</select></td>
	</tr>
	<tr>
		<td align="right">数量：</td>
		<td><input type="text" name="amount" id="amount" size="12"
			value="{[$result.amount]}"></td>
		<td align="right"></td>
		<td></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="2" name="content" cols="55"></textarea></td>
	</tr>
</table>
</form>
</fieldset>

<script type="text/javascript" src="js/material/returned/item/add.js?r={[$smarty.now]}"></script>
